package cn.bob.service;

import cn.bob.domain.MovieTicket;
import cn.bob.dto.BuyNumDto;
import cn.bob.dto.SelectByMovieDto;
import cn.bob.result.JsonResult;
import com.baomidou.mybatisplus.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author bob
 * @since 2022-11-23
 */
public interface IMovieTicketService extends IService<MovieTicket> {

    void buy(BuyNumDto buyNumDto);

    JsonResult selectByMovie(SelectByMovieDto selectByMovieDto);

    JsonResult randomMovie(Long userId);

    JsonResult seeMovie(BuyNumDto buyNumDto);
}
